import request from '@/utils/request'

//登录日志
export const getLogListService = ({ page, pageSize,name }) => {
  return request.get('/Log/page', {
    params: {
      page: page,
      pageSize: pageSize,
      name:name
    }
  })
}

//通用日志
export const getLogPageListService = ({ page, pageSize,name }) => {
  return request.get('/Log/logPage', {
    params: {
      page: page,
      pageSize: pageSize,
      name:name
    }
  })
}

// 通过id查询日志
export const getLogById = ({ id }) => {
  return request.get(`/Log/${id}`)
}
